package com.hmkj.core.model.investor;

import com.hmkj.core.po.investor.Investor;
import com.hmkj.core.po.operate.Agent;
import com.hmkj.core.po.user.User;
import lombok.Data;

import java.util.function.Consumer;

@Data
public class InvestorModel extends Investor {
    private User u;

    private Agent ag;

    public InvestorModel(){}

    public InvestorModel(Consumer<InvestorModel> consumer){
        consumer.accept(this);
    }

}
